package ooDay02;

import ooDay03.Moo;

public class AnimalTest {
    public static void main(String[] args) {
        Moo a=new Moo();
        Dog dg =new Dog("黑豹",3,"黑");
        dg.lookHome();
        dg.eat();
        dg.drink();

        Chick ck = new Chick("小彩",2,"彩");
        ck.eat();
        ck.drink();
        ck.layEggs();

        Fish fs = new Fish("小蓝",2,"蓝");
        fs.eat();
        fs.drink();
    }
}
